package com.lovo.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.lovo.system.dto.SupplierDto;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface ISupplierService {

    IPage<SupplierDto> cutByItem(int curPage, int pageSize,String name,String range);

    String addSupplier(SupplierDto supplierDto);

    String deleteSupplier(int id);

    String updateStudent(SupplierDto supplierDto);

    SupplierDto queryOneById(int id);

    /**
     * 导入供应商
     * @param file
     */
    void importSupplierList(MultipartFile file) throws Exception;

}
